package com.cn.service;

import java.util.List;

import com.cn.domain.OrderEntity;
  

 
  
public interface OrderService {  
	public int insertOrder(OrderEntity orderEntity);
	
	public List<OrderEntity> findOrderEntityByWhere(OrderEntity orderEntity);
	
    public int cancleOrderEntity(OrderEntity orderEntity);
    
    public int secondKill(OrderEntity orderEntity);

	public int insertBatchOrder(List<OrderEntity> orderList);
	
	public int secondKillRedis(OrderEntity orderEntity);
}  